!\bin\bash


## return to parent directory
cd ..

## ResNet50, ResNet50_V2
model_arch=ResNet50_V2

########################################################
## demo script                                        ##
########################################################

# echo "CUDA_VISIBLE_DEVICES=1 python main.py --exp_type untarget --exp_case case_1_2 --exp_obj GA --epsilon 0.05 --dataset ImageNet --model_arch $model_arch --attack_num 10 --block_size 2"
# CUDA_VISIBLE_DEVICES=1 python main.py --exp_type untarget --exp_case case_1_2 --exp_obj GA --epsilon 0.05 --dataset ImageNet --model_arch $model_arch --attack_num 10 --block_size 2


########################################################
## performance script                                 ##
########################################################

# echo "CUDA_VISIBLE_DEVICES=0 python main.py --exp_type param --exp_case performance  --epsilon 0.05 --dataset ImageNet --model_arch $model_arch"
# CUDA_VISIBLE_DEVICES=0 python main.py --exp_type param --exp_case performance --epsilon 0.05 --dataset ImageNet --model_arch $model_arch


########################################################
## experiment script                                  ##
########################################################

## objection list: FGSM MPack GA SMPack OnePixel SimBA FNS PGD
exp_obj=GA

##### ImageNet Untarget
## have done (under block size 2): FGSM PGD OnePixel SimBA FNS GA  MPack SMPack 
echo "CUDA_VISIBLE_DEVICES=0 python main.py --exp_type highdim --exp_case case_highdim_untarget  --epsilon 0.05 --dataset ImageNet --model_arch $model_arch --exp_obj $exp_obj --block_size 2 --attack_num 100 --base_size 10"
CUDA_VISIBLE_DEVICES=0 python main.py --exp_type highdim --exp_case case_highdim_untarget --epsilon 0.05 --dataset ImageNet --model_arch $model_arch --exp_obj $exp_obj --block_size 2 --attack_num 100 --base_size 10


## have done (under block size 2): FGSM PGD OnePixel SimBA FNS |  MPack SMPack GA 
##### ImageNet Target

# echo "CUDA_VISIBLE_DEVICES=2 python main.py --exp_type highdim --exp_case case_highdim_target --epsilon 0.05 --dataset ImageNet --model_arch $model_arch --exp_obj $exp_obj --block_size 2 --attack_num 100 --base_size 10"
# CUDA_VISIBLE_DEVICES=2 python main.py --exp_type highdim --exp_case case_highdim_target --epsilon 0.05 --dataset ImageNet --model_arch $model_arch --exp_obj $exp_obj --block_size 2 --attack_num 100 --base_size 10

## MPack
# echo "CUDA_VISIBLE_DEVICES=2 python main.py --exp_type highdim --exp_case case_highdim_target --epsilon 0.05 --dataset ImageNet --model_arch $model_arch --exp_obj $exp_obj --block_size 2 --attack_num 100 --population_size 200 --base_size 10"
# CUDA_VISIBLE_DEVICES=2 python main.py --exp_type highdim --exp_case case_highdim_target --epsilon 0.05 --dataset ImageNet --model_arch $model_arch --exp_obj $exp_obj --block_size 2 --attack_num 100 --population_size 200 --base_size 10




########################################################
## Rendering                                          ##
########################################################

# echo "CUDA_VISIBLE_DEVICES=2 python main.py --exp_type highdim --exp_case high_dim_show  --epsilon 0.05 --dataset ImageNet --model_arch $model_arch --block_size 2"
# CUDA_VISIBLE_DEVICES=2 python main.py --exp_type highdim --exp_case high_dim_show --epsilon 0.05 --dataset ImageNet --model_arch $model_arch --block_size 2

